<form id="form" action="{:url('allwin/shopCate/add')}">
<input type="hidden" name="picture" value="" id="picture" />
<table class="formtable"> 
    <tr><th>专题属性:</th><td class="input-group">
        <select datatype="*" class="select w100 fn-left" name="types">
            <option value="0">默认属性</option>
            <option value="1">首页推荐</option>
        </select>
    </td></tr>
    <tr>
        <th>专题名称:</th>
        <td><input class="input" datatype="*" type="text" name="title" value="" /></td>
    </tr>
    <tr>
        <th>专题简介:</th>
        <td><textarea class="textarea w400 h60" datatype="*" type="text" name="content" /></textarea></td>
    </tr>
    <tr><th>专题图片</th><td><div url="{:url('system/passport.common/upload')}" class="box-view fn-cp w400 h150"><div class="opera">建议宽750px高350</div></div></td></tr>
    <tr>
        <th></th>
        <td>
            <input type="submit" value="确定" class="button button-blue submit" />
            <input type="reset" value="重置" class="button button-blank"/>
        </td>
    </tr>
</table>
</div>
</form>
<script type="text/javascript">
Do('base','layer','form',function(){
    $('#form').isForm();
    $(".box-view").win(); 
})
//添加图片
function setImg(show_src){
    $("#picture").val(show_src);
    $(".box-view").html('<img src="'+show_src+'">');  
}
</script>